import { Component,Input } from '@angular/core';

@Component({
  moduleId: module.id,
  selector: 'th-swap-error',
  template: `<div *ngIf="error" class="swapError"></div>`,
  styles:[`
    .swapError{     
      box-sizing:border-box;
      border:10px solid red;
      top: 10%;
      left:10%;
      border-radius: 50%;
      position:absolute;
      width:80%;
      height:80%;
      z-index:9999;
    }
    
  `]
})
export class SwapErrorCmp  {
  @Input() error:boolean;


}